﻿/**********************************天使物流*******************************************
* 功能描述:结算管理-销项票管理
* 作者:石锦涛
* 时间:2022-01-11
* 
**********************************天使物流*******************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TianShiProject.Models.Common;

namespace TianShiProject.Models.SettleAccounts.NewSalesInvoices
{
    public interface INewSalesAppRepository
    {
        /// <summary>
        /// 分页显示
        /// </summary>
        /// <returns></returns>
        Task<PageResponse<NewSalesInvoiceDto>> GetNewSales(string name, int? clas, string times, int pageindex = 1, int pagesize = 5);
        /// <summary>
        ///  销项发票逻辑删除
        /// </summary>
        /// <returns></returns>
        Task<PageResponse<NewSalesInvoiceDto>> DeleteNewSales(int Id);
        /// <summary>
        /// 修改销项发票
        /// </summary>
        /// <param name="newInput"></param>
        /// <returns></returns>
        Task<PageResponse<int>> UpdateNewSales(NewSalesInvoiceDto newSales);
        /// <summary>
        /// 新增销项发票
        /// </summary>
        /// <param name="newInput"></param>
        /// <returns></returns>
        Task<PageResponse<int>> PostNewSales(NewSalesInvoiceDto newSales);
        /// <summary>
        /// 批量逻辑删除销项发票
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        Task<PageResponse<NewSalesInvoiceDto>> DeleteNewSalesMent(string Id);
    }
}
